package Controller;

import annotation.Bean;
import annotation.Controller;
import annotation.RequestMapping;

@Bean(Alise = "/index")
@Controller("/index")
public class IndexController {
    public IndexController(){
        System.out.println("Index");
    }
    @RequestMapping("/a")
    public String test(){
        System.out.println("test");
        return "Hello Pomcat";
    }
}
